package net.akkz.server;

import java.util.ArrayList;

import net.akkz.model.ImgView;
import net.akkz.model.ImgViewGood;

public interface ImgViewServer
{
	public void addImgView(ImgView imgView);
	
	public ArrayList<ImgView> findImgView(int start, int end);
	
	public ArrayList<ImgView> findImgViewOrderbyGoodNum(int start, int end);
	
	public ArrayList<ImgView> findImgViewByStudentId(int studentId);
	
	public ArrayList<ImgView> findAllImgView(int start, int end);
	
	public ArrayList<ImgView> findAllImgViewOrderbyGoodNum(int start, int end);
	
	public ArrayList<ImgView> findAllImgViewByStudentId(int studentId);
	
	public ImgView getImgView(int imgViewid);
	
	public ImgView getImgView(int imgViewid, int studentid);
	
	public void deleteImgView(int imgViewId);
	
	public void checkImgView(ImgView imgView);
	
	
	public void addImgViewGood(int imgViewGoodId, int studentId);
	
	public void unAddImgViewGood(int imgViewGoodId, int studentId);
	
	public ArrayList<ImgViewGood> findImgViewGoodByImgViewId(int imgViewId);
	
	public ArrayList<ImgViewGood> findImgViewGoodByStudentId(int studentId);

}
